Railroads and state